package com.tcoiss.datafactory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tcoiss.datafactory.domain.OaK3Mapping;

import java.util.List;
import java.util.Map;

/**
 * OA同步星空映射Service接口
 *
 * @author zw
 * @date 2021-05-23
 */
public interface IOaK3MappingService extends IService<OaK3Mapping> {

    /**
     * 查询列表
     */
    List<OaK3Mapping> queryList(OaK3Mapping oaK3Mapping);

    boolean syncK3BillByMapping(Map<String, Object> oaMap);

    boolean saveMapping(OaK3Mapping oaK3Mapping);

    boolean updateMappingById(OaK3Mapping oaK3Mapping);

    boolean updateUseStatus(List<Long> asList, Integer status);
}
